﻿using LibNiconico.NiconicoApi.HeartBeat;
using LibNiconico.NiconicoApi.Lives;
using NicoView.Model.Service.Events;
using NicoView.Model.Share.Service.Events;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NicoView.Model.Service.Lives
{
    public sealed class NicoLiveHeartBeatReceivedEventArgs:NicoEventArgs
    {
        private NicoHaertBeatReceivedEventArgs cache;

        internal NicoLiveHeartBeatReceivedEventArgs(NicoHaertBeatReceivedEventArgs args)
        {
            cache = args;
        }

        public DateTime Time
        {
            get
            {
                return cache.Response.Time;
            }
        }

        public int CommentCount
        {
            get
            {
                return cache.Response.HeartBeat.CommentCount;
            }
        }

        public int WatchCount
        {
            get
            {
                return cache.Response.HeartBeat.WatchCount;
            }
        }
    }
}
